package asteroids.model.programs.parsing.statements;

import asteroids.model.programs.parsing.expressions.E;

public class Print extends S {

	public Print(int line, int column, E e) {
		super(line, column);
		setExpressionToPrint(e);
	}
	
	public void setExpressionToPrint(E e){
		expressionToPrint = e;
	}
	
	public E getExpressionToPrint(){
		return expressionToPrint;
	}
	
	
	private E expressionToPrint;

	
	@Override
	public void execute(ExecuteManager executeManager) {
		executeManager.execute(this);
	}
	


}
